package com.wanxi.exercises;

public class Lozenge {
    public static void main(String[] args) {

        for (int a = 1; a <= 5; a++) {

            for (int c = 1; c <= 10 - 2 * a; c++) {
                System.out.print(" ");
            }
//            System.out.println();


            for (int b = 1; b <= 2 * a - 1; b++) {
                System.out.print("* ");
            }
            System.out.println();
        }
        for (int a = 1; a <= 5; a++) {

            for (int b = 1; b <= 2 * a - 1; b++) {
                System.out.print(" ");
            }
            for (int c = 1; c <= 10 - 2 * a; c++) {
                System.out.print("* ");
            }
            System.out.println();






        }






    }
}
